package com.suxiaofang.library.exception;

import lombok.Getter;

/**
 * 文件名：ServiceException
 * 创建者：蔡江鸿
 * 创建时间：2022/9/8-22:06
 * 描述：自定义异常
 */

@Getter
public class ServiceException extends RuntimeException {
    private String code;

    public ServiceException(String code, String msg) {
        super(msg);
        this.code = code;
    }

}
